package com.videoaggre.zcl.api

import com.videoaggre.zcl.bean.ResultBean
import retrofit2.http.*

/**
 * Created by zhoucl
 * Description: 所有请求接口定义
 */
interface ApiService {

    @GET
    suspend fun dynamicUrl(@Url url: String?): String?

    /**
     * 登录
     */
    @POST("/nvp/app/nvptool/appVersion")
    @FormUrlEncoded
    suspend fun appVersion(
        @Field("bundleId") bundleId: String,
        @Field("currentVersion") currentVersion: String,
        @Field("buildType") buildType: String,
        @Field("appType") appType: String = "2"
    ): ResultBean<MutableMap<String, String>?>

}
